package com.sk.server.level2.provide;

import com.alibaba.fastjson.JSON;

import com.sk.common.level2.rpcInterface.CalculateRpcInterface;
import org.springframework.stereotype.Service;


/**
 * description：
 *
 * @author 孙文斌
 * @Date: 2021/1/27 16:03
 */
@Service
public class CalculateServer implements CalculateRpcInterface {

    @Override
    public String add(Integer v1, Integer v2) {
        return JSON.toJSONString(v1+v2);
    }
}
